Adapting Median Filtering to Measurement Signals
نویسنده
چکیده
Filtering out disturbances from transmitted or recovered measurement signals is one of the most important tasks of analog and digital signal processing for many decades. Removing of specific disturbances, having form of separate pulses (impulsive disturbances), requires specific algorithms because of very wide spectra of such pulses. The use of median procedures, especially of weighted medians, is particularly effective in such filtering procedures. According to the applied algorithm, signal samples, which include disturbances, are eliminated and replaced by some values resulting from neighbouring nondisturbed samples. The optimum weights of median filter depend on signal shape of deterministic signals. An analysis of frequency responses of medians is given in the contribution. I. Weighted Median Filtering A. Introduction A theoretical background of the filtering method was presented some years ago in [1]. It was shown there also that a simple combination of weighted medians, for instance a linear function of two weighted medians, has a definite frequency response. Let us analyze a process x(n) ( ) ( ) ( ) n z n s n x + = (1) consisting of signal s(n) and impulsive disturbance z(n). If x denotes the vector of samples x(n), the following operator, mentioned in [1], can be used to remove the disturbance ( ) ( ) ( ) n y n y n y WM WM 2 2 1 1 ~ α α + = (2) where and are Weighted Median (WM) smoothers defined by ( ) n y WM 1 ( ) n y WM 2 ( ) [ ] x • w i MED n yi = (3) where [ ( ) ( ) ] n x w ... n x w iN 1 i • + + • = • x w i , • operator of repetition. B. Adaptive Weighted Median The vector wi can be optimized of course with respect to the mean squared value of difference between the filtered signal y ~ (n) and its original shape s(n), for the whole sequence x. On the other hand a simple simulation shows that it can be optimized and adapted locally to the shape of filtered signal. It can be seen for instance from Figs. 1 and 2 where parameter values are identical for both examples in order to illustrate the necessity of optimization, especially in case II, Fig.2 that a proper choice of wi in a particular case results in significant distortions of signals having different shapes. In both figures the continuous line denotes disturbed signal, the dotted line corresponds to signal after filtering process. In the text of contribution the problem of filtering was investigated for s(n) being a periodic sequence and z(n) being an exponentially decaying pulse for different values of α1 and α2 . It must be noted that the exponential shape of impulsive disturbance results from practical situations where very short pulses are corrupted by some elements of the system, for instance by transmission lines. Figure 1. Filtering effects case I.Figure 2. Filtering effects case IIA systematic sweeping of the wi space, limited by certain practical bounds, for different local shapes ofthe signal seems to be the only practical approach to the optimization task. Such procedure was appliedto a disturbed sine wave and the results were described in [4]. The frequency properties of the appliedalgorithm are interesting of course, from the point of view of any measurement signal. some simulationresults are given in the next Section.II. Results of Simulation Experiment A simulation using MATLAB package was implemented (for α2=0). The w1 values were optimized for asliding median window (N=5) and the frequency responses in the neighbourhood of optimum weightswere calculated. The results are shown in Figs. 3-7. In all figures the optimum values of w1 componentsare indicated in order to illustrate the sensitivity of frequency characteristics with respect to weightvector parameters.III. ConclusionsA possibility of simple adaptation of weighted medians used in filtering procedures was described in [1]as well as in previous contributions of the author. The presented frequency responses illustrate somedynamic properties of the weighted medians and their possible deviation for median weights differingfrom optimum values. It can be seen that in most cases the frequency response does not deviate from theoptimum curve in a similar way, for weight increases and decreases.References[1] Kang-Sun Choi, A.W. Morales, Sung-Jea Ko, Design of Linear Combination of Weighted Medians,IEEE Trans. on Signal Processing, Vol.49,No.9, Sept. 2001, 1940-1952[2] J. Sawicki, "Detection and Cancellation of Impulsive Disturbances Using MATLAB Procedures",XVII IMEKO World Congress "Metrology in the 3rd Millennium", June 22−27, 2003, Dubrovnik,Croatia, pp. 635 638 [3] J. Sawicki, "Frequency Properties of Median Algorithms Used for Pulse Elimination", Proceedingsof the IASTED International Conference SIGNAL PROCESSING, PATTERN RECOGNITION &APPLICATIONS, June 30 – July 2, 2003, Rhodes, Greece, pp. 293 – 298[4] J. Sawicki, "Adaptive Median Filtering", Proceedings of the Workshop on MultimediaCommunications and Services, May 5-6, 2004, Cracow, Poland, pp. 77-82 Figure 3. Frequency responses for different W1 values Figure 4. Frequency responses for different W1(2) values Figure 5. Frequency responses for different W1(3) values Figure 6. Frequency responses for different W1(4) values Figure 7. Frequency responses for different W1(5) values
منابع مشابه
Geological noise removal in geophysical magnetic survey to detect unexploded ordnance based on image filtering
This paper describes the application of three straightforward image-based filtering methods to remove the geological noise effect which masks unexploded ordnances (UXOs) magnetic signals in geophysical surveys. Three image filters comprising of mean, median and Wiener are used to enhance the location of probable UXOs when they are embedded in a dominant background geological noise. The study ar...
متن کاملApplication of Model-Based Estimation to Time-Delay Estimation of Ultrasonic Testing Signals
Time-Delay-Estimation (TDE) has been a topic of interest in many applications in the past few decades. The emphasis of this work is on the application of model-based estimation (MBE) for TDE of ultrasonic signals used in ultrasonic thickness gaging. Ultrasonic thickness gaging is based on precise measurement of the time difference between successive echoes which reflect back from the back wall ...
متن کاملAutomatic detection of liver tumor motion by fluoroscopy images
Background: A method to track liver tumor motion signals from fluoroscopic images without any implanted gold fiducial markers was proposed in this study to overcome the adverse effects on precise tumor irradiation caused by respiratory movement. Materials and Methods: The method was based on the following idea: (i) Before treatment, a series of fluoroscopic images corresponding to different bre...
متن کاملAdaptive Filtering Strategy to Remove Noise from ECG Signals Using Wavelet Transform and Deep Learning
Introduction: Electrocardiogram (ECG) is a method to measure the electrical activity of the heart which is performed by placing electrodes on the surface of the body. Physicians use observation tools to detect and diagnose heart diseases, the same is performed on ECG signals by cardiologists. In particular, heart diseases are recognized by examining the graphic representation of heart signals w...
متن کاملAn Enhanced Median Filter for Removing Noise from MR Images
In this paper, a novel decision based median (DBM) filter for enhancing MR images has been proposed. The method is based on eliminating impulse noise from MR images. A median-based method to remove impulse noise from digital MR images has been developed. Each pixel is leveled from black to white like gray-level. The method is adjusted in order to decide whether the median operation can be appli...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004